-- GENERATED SPELL FOR [Gamel the Cruel] --


function spell0_26449(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(19643,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26449', 5293, 1)
end

function Sorts_26449(pUnit, Event)
local choix_sorts_26449 = math.random(0, 0)
if choix_sorts_26449 == 0 then
pUnit:RegisterEvent('spell0_26449', 1, 1)
end
end

function mob26449_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26449', math.random(1500, 3000), 1)
end

function mob26449_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26449_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26449_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26449, 1, 'mob26449_Action')
RegisterUnitEvent(26449, 2, 'mob26449_Leave')
RegisterUnitEvent(26449, 3, 'mob26449_Kill')
RegisterUnitEvent(26449, 4, 'mob26449_Die')
